<template>
  <div>
    <van-swipe :autoplay="3000" indicator-color="white" class="swipe">
      <van-swipe-item v-for=" item in lunbotuList" :key="item.img||item.src" class="item">
        <img :src="item.img||item.src" alt>
      </van-swipe-item>
    </van-swipe>
  </div>
</template>
<script>
export default {
    props:['lunbotuList'],
    created(){

    }
};
</script>
<style lang="less">
.swipe {
    height: 200px;
    .item {
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
</style>